package com.googlecode.jasmincc.framework.implementation;

import java.util.*;

import com.googlecode.jasmincc.framework.Grammar;

public class SimpleGrammar implements Grammar {
	private String instanceName;

	private String grammarName;

	protected Map<String, String> instances = new Hashtable<String, String>();

	public String getInstanceName() {
		return instanceName;
	}

	public String getGrammarName() {
		return grammarName;
	}

	public void setInstanceName(String instanceName) {
		this.instanceName = instanceName;
	}

	public void setGrammarName(String grammarName) {
		this.grammarName = grammarName;
	}

	/**
	 * @return the instances
	 */
	public Map<String, String> getInstances() {
		return instances;
	}

	/**
	 * @param instances the instances to set
	 */
	public void setInstances(Map<String, String> instances) {
		this.instances = instances;
	}
}
